home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
atool201.zip
/
DEMOTOOL.RC
< prev
next >
Wrap
Text File
|
1994-11-29
|
3KB
|
136 lines
/*
TOOLDEMO.RC -- resource script file defining Tool Bar
control. This is a part of TOOLDEMO project - demonstration
of ESTOOLS.DLL
Copyright (C) Eugene Sokolov 1992-1993, (516)632-7892,
esokolov@sbchm1.chem.sunysb.edu
You can freely copy, change or redistribute this file as long
as this notice remains intact.
Last edition 11/16/94 (mm/dd/yy)
*/
#include "esdefs.h"
#include "estools.h"
/* Bitmap placed on top of TB buttons */
BTNS BITMAP "btns.bmp"
BMP0 BITMAP "bmp0.bmp"
BMP2_5 BITMAP "bmp2_5.bmp"
BMP6 BITMAP "bmp6.bmp"
/* Application icon */
TBICON ICON "tbdemo.ico"
/*Tool Bar window caption */
STRINGTABLE
BEGIN
NAME1, "ES ToolBar"
END
/* Script for the Tool Bar itself */
TOOLBAR RCDATA
BEGIN
TB_RESOURCE_VERSION, /* Resource version, new to 1.01 !!! ,
old resources will not work !!! */
NAME1, /* Tool Bar name */
TBS_CHILD | TBS_MOVABLE | TBS_BORDER | TBS_VISIBLE, /* Tool Bar style */
/* ^^^^^^^^^^^ -- default, included for reference only */
BTNS, 24, 24, /* bitmap with button faces and size of the
/* individual face (w-h) */
40, 32, /* button size - width, height */
3, /* border size -- ignored if no
TBS_BORDER style specified*/
5, /* # of buttons in the horizontal line */
5, /* total # of controls */
0, 0, ID_CMD1, TBB_DISABLED, /* controls (buttons) in the form:
x-offset in BTNS, y-offset,
Button ID (wParam in WM_COMMAND
message),
Button style (see description of styles
in estools.h
*/
0, 24, ID_CMD2, TBB_STANDARD,
0, 48, ID_CMD3, TBB_AUTO2STATE | TBB_PRESSED,
0, 72, ID_CMD4, TBB_STANDARD,
0, 96, ID_CMD5, TBB_2STATE,
0 /* not necessary, but recommended for future
compatibility
*/
END
/* Application menu */
TBMENU MENU
BEGIN
POPUP "&Buttons"
BEGIN
POPUP "&1"
BEGIN
MENUITEM "&Disabled", 1100, CHECKED
MENUITEM "&Auto 2 state", 1101
MENUITEM "&2 State", 1102
END
POPUP "&2"
BEGIN
MENUITEM "&Disabled", 1200
MENUITEM "&Auto 2 state", 1201
MENUITEM "&2 State", 1202
END
POPUP "&3"
BEGIN
MENUITEM "&Disabled", 1300
MENUITEM "&Auto 2 state", 1301, CHECKED
MENUITEM "&2 State", 1302
END
POPUP "&4"
BEGIN
MENUITEM "&Disabled", 1400
MENUITEM "&Auto 2 state", 1401
MENUITEM "&2 State", 1402
END
POPUP "&5"
BEGIN
MENUITEM "&Disabled", 1500
MENUITEM "&Auto 2 state", 1501
MENUITEM "&2 State", 1502, CHECKED
END
POPUP "&Insert"
BEGIN
MENUITEM "Button &0", 1600
MENUITEM "Button &2.5", 1601
MENUITEM "Button &6", 1602
END
END
POPUP "&Tool Bar"
BEGIN
POPUP "&Buttons Per Row"
BEGIN
MENUITEM "&1", 2001
MENUITEM "&2", 2002
MENUITEM "&3", 2003
MENUITEM "&4", 2004
MENUITEM "&5", 2005
MENUITEM "&6", 2006
MENUITEM "&7", 2007
MENUITEM "&8", 2008
END
MENUITEM "&TBS_Movable (or TBS_Fixed)", 2010, CHECKED
MENUITEM "&TBS_Border", 2011, CHECKED
END
POPUP "&Help"
BEGIN
MENUITEM "&Contents", 3000
END
END